package pcloud.client;

import java.io.IOException;

public class CommandLineApp
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		PCloudClient pCloudClient;
		pCloudClient = new PCloudClient();
		pCloudClient.startSync();

		System.out.println("Press any key to exit: ");
		try {
			@SuppressWarnings("unused")
			int key = System.in.read();
		} catch (IOException e) {
		}

		pCloudClient.stopSync();
	}

	// private void btnStart_Click(object sender, EventArgs e) {
	// pCloudClient.startSync();
	// }
	//
	// private void btnStop_Click(object sender, EventArgs e) {
	// pCloudClient.stopSync();
	// }
	//
	// private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
	// {
	// pCloudClient.stopSync();
	// }

}
